package com.shou.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户收藏类
 * @author zyl65
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "collection")
public class Collection extends GenericEntity<Long>{

	private Long userId;
	private Long serveId;
	private Date createTime;
	private Integer useStatus;
	private Date updateTime;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getServeId() {
		return serveId;
	}
	public void setServeId(Long serveId) {
		this.serveId = serveId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getUseStatus() {
		return useStatus;
	}
	public void setUseStatus(Integer useStatus) {
		this.useStatus = useStatus;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	
}
